package com.qdlc.p2p.common.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;

import com.qdlc.p2p.common.util.LogFactory;

/**
 * Created by wuaj on 2015/12/21.
 */
public class ExceptionHandler implements HandlerExceptionResolver {
	
    private static final Logger logger = LogFactory.EXCEPTION_LOGGER;

    @Override
    public ModelAndView resolveException(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) {
        logger.trace(o, e);
        return null;
    }
}
